/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package entities;

/**
 *
 * @author Valentina
 */
abstract public class VO {
    Long id;
    String name;

    public VO() {
    }

    public VO(String name) {
        this.name = name;
    }

    public VO(Long id, String name) {
        this.id = id;
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "VO{" + "id=" + id + ", name=" + name + '}';
    }

}